﻿<%@ Page Language="C#" MasterPageFile="~/masterpages/desktop/desktop.Master" AutoEventWireup="true" CodeBehind="PrintParameter.aspx.cs" Inherits="permit.print.PrintParameter" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
           font-size: 14px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpMainContent" runat="server">
   	<br />
<br />
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:10px; font-size: small;">
      <tr>
        <td><img src="Images/Index_print.jpg" width="750" height="48" /></td>
      </tr>
      <tr>
        <td valign="top" background="Images/Index_3.jpg" align="center">       
          <div style="width:730px;background-color:#FFFFFF;padding:10px 0px 20px 0px; font-size: 14px;">         
             <div>
                 <TABLE style="BORDER-LEFT-COLOR: #ccc; BORDER-BOTTOM-COLOR: #ccc; BORDER-TOP-COLOR: #ccc; BORDER-COLLAPSE: collapse; BORDER-RIGHT-COLOR: #ccc" 
cellSpacing=0 cellPadding=3 width=700 border=1>
  <TBODY>
  <TR>
    <TD width=120 bgColor=#f7f7f7 
    height=20>请选择打印机：</TD>
    <TD align="left" colspan="2" style="font-size: small">
                    <asp:DropDownList ID="ddlPrinter" runat="server" Width="115px">
                        <asp:ListItem Selected="True" Value="0">默认</asp:ListItem>
                    </asp:DropDownList>
      </TD>
    <TD align="center" bgcolor="#F7F7F7" class="style1" colspan="2">
                    添加打印机：</TD>
    <TD style="font-size: small;" width=120 
    height=20 colspan="2">
        <asp:TextBox ID="txtPriName" runat="server" style="margin-left: 0px"></asp:TextBox>
      </TD>
    <TD style="font-size: small">
                    <asp:Button ID="btnAddPrinter" runat="server" onclick="btnAddPrinter_Click" 
                        Text="添加" Width="44px" />
                </TD></TR>
  <TR>
    <TD  width=120 bgColor=#f7f7f7 
    height=20>页面位置设置：</TD>
    <TD align="left" colspan="2">
                    <asp:TextBox ID="txtPageUp" runat="server" Width="24px"></asp:TextBox>
                    mm(上移动)</TD>
    <TD align="left" class="style1" colspan="2">
                    <asp:TextBox ID="txtPageDown" runat="server" Width="24px"></asp:TextBox>
                    mm(下移动)</TD>
    <TD width=120 
    height=20 colspan="2">
                    <asp:TextBox ID="txtPageLeft" runat="server" Width="24px"></asp:TextBox>
                    mm(左调整)</TD>
    <TD style="font-size: small;">
                    <asp:TextBox ID="txtPageRight" runat="server" Width="24px"></asp:TextBox>
                    mm(右调整)</TD></TR>
  <TR>
    <TD align=left colSpan=8 height=25 bgcolor="#F7F7F7">
                    单项位置设置： </TD></TR>
  <TR>
    <TD colSpan=8 
      height=20><SPAN id=ErrMsg></SPAN>
      <DIV id=AjaxStr style="DISPLAY: none"></DIV>
        <input id="hdCode" type="hidden" runat="server"/>
        <asp:RadioButtonList ID="rblStyle" runat="server" AutoPostBack="True" 
            onselectedindexchanged="rblStyle_SelectedIndexChanged" 
            RepeatColumns="8" RepeatDirection="Horizontal" TextAlign="Left">
            <asp:ListItem Value="lblDep">单位名称</asp:ListItem>
            <asp:ListItem Value="lblRep">法人代表</asp:ListItem>
            <asp:ListItem Value="lblMark">备     注</asp:ListItem>
            <asp:ListItem Value="lblType">类     别</asp:ListItem>
            <asp:ListItem Value="lblPerCode">甘餐证字</asp:ListItem>
            <asp:ListItem Value="lblAddress">地     址</asp:ListItem>
            <asp:ListItem Value="lblOrgan">发证机关</asp:ListItem>
            <asp:ListItem Value="lblDateY">发证年份</asp:ListItem>
            <asp:ListItem Value="lblDateM">发证月份</asp:ListItem>
            <asp:ListItem Value="lblDateD">发证日期</asp:ListItem>
            <asp:ListItem Value="lblStarY">开始年份</asp:ListItem>
            <asp:ListItem Value="lblStarM">开始月份</asp:ListItem>
            <asp:ListItem Value="lblStarD">开始日期</asp:ListItem>
            <asp:ListItem Value="lblEndY">截止年份</asp:ListItem>
            <asp:ListItem Value="lblEndM">截止月份</asp:ListItem>
            <asp:ListItem Value="lblEndD">截止日期</asp:ListItem>
            <asp:ListItem Value="lblPerType">许可证类型</asp:ListItem>
        </asp:RadioButtonList>
      </TD></TR>
  <TR>
    <TD colSpan=2 
      height=20>
                    <asp:TextBox ID="txtLblUp" runat="server" Width="24px"></asp:TextBox>
                    mm(上移动)</TD>
    <TD colSpan=2 
      height=20>
                    <asp:TextBox ID="txtLblDown" runat="server" Width="24px"></asp:TextBox>
                    mm(下移动)</TD>
    <TD colSpan=2 
      height=20>
                    <asp:TextBox ID="txtLblLeft" runat="server" Width="24px"></asp:TextBox>
                    mm(左调整)</TD>
    <TD colSpan=2 
      height=20>
                    <asp:TextBox ID="txtLblRight" runat="server" Width="24px"></asp:TextBox>
                    mm(右调整)</TD></TR>
  <TR>
    <TD colSpan=2 
      height=20>
                    字体样式：</TD>
    <TD colSpan=2 
      height=20>
                    <asp:DropDownList ID="ddlFont" runat="server" style="margin-left: 0px" 
                        Width="122px">
                    </asp:DropDownList>
                                                </TD>
    <TD colSpan=2 
      height=20>
                    字体大小：</TD>
    <TD colSpan=2 
      height=20>
                    <asp:TextBox ID="txtFontSize" runat="server" Width="130px" 
                        style="margin-left: 0px"></asp:TextBox>
      </TD></TR>
  <TR>
    <TD colSpan=8 
      height=20 align="center">
        <asp:Button ID="btnPrint" runat="server" Text="打  印" onclick="btnPrint_Click" Width="60px" />
&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnTestPrint" runat="server" onclick="btnTestPrint_Click" 
            Text="打印测试" style="height: 26px" Width="80px" />
      </TD>
      </TR>
  <TR>
    <TD style="FONT-WEIGHT: bold; TEXT-ALIGN: center; color: #FF0000;" colSpan=8 
      height=20>
      </TR></TBODY>
                 </TABLE>
         </div>
         </div>
          </td>
          </tr>
          <tr>
            <td height="48px" valign="top" background="Images/Index_3.jpg" align="center"></td>
          </tr>
          </table>
</asp:Content>
